home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / geomutil / ucd / Makefile.obj < prev    next >
Makefile  |  1993-11-05  |  789b  |  29 lines

  1. # this file contains the common part of the Makefiles for the object
  2. # (O.*) directories.
  3.  
  4. OOGLLIBS = -lstubdraw -lgeom -lvect -lpolylist -lquad -lmesh \
  5.     -lbezier -lsphere -linst  -ltlist -llist -ldg -lstub \
  6.     -lgeom -loogl -lbbox -lshade -lcolor -l3d
  7.  
  8. LIBS= -L${GEOM}/lib/${MACHTYPE} -lgeomutil ${OOGLLIBS} -lm ${MALLOCLIB}
  9.  
  10. anytoucd: anytoucd.o make_frame.o stack.o
  11.     ${CC} ${CFLAGS} -o $@ anytoucd.o make_frame.o stack.o ${LIBS}
  12.     rm -f ../$@
  13.     ln $@ ..
  14.  
  15. ucdtooff: ucdtooff.o 
  16.     ${CC} ${CFLAGS} -o $@ ucdtooff.o ${LIBS}
  17.     rm -f ../$@
  18.     ln $@ ..
  19.  
  20. install:    install_bin
  21.  
  22. install_bin:    anytoucd ucdtooff
  23.     ${INSTALL} -O -v -F ${BINDIR} anytoucd
  24.     strip ${BINDIR}/anytoucd
  25.     chmod 555 ${BINDIR}/anytoucd
  26.     ${INSTALL} -O -v -F ${BINDIR} ucdtooff
  27.     strip ${BINDIR}/ucdtooff
  28.     chmod 555 ${BINDIR}/ucdtooff
  29.